package com.bestcem.xm.common.core.enums;

/**
 * 是否精确查询枚举类
 * @author sh.pei <sh.pei@idiaoyan.com>
 * @version v1.0
 * @date 2021/7/21 19:26
 */
public enum SearchMatchEnum implements CommonEnum {
    /**
     * 结束合作
     */
    FUZZY("模糊匹配", 0),
    /**
     * 合作中
     */
    EXACT("精准搜索", 1);

    /**
     * 成员变量
     */
    private String name;
    private int index;

    private SearchMatchEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    @Override
    public int getIndex() {
        return index;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}

